package com.b511.swpu.cementbackend.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.validator.constraints.Range;

import javax.persistence.*;

@Entity
@Getter
@Setter
@Accessors(chain = true)
// 地层岩性 对应表 BA_STRATUMLITHOLOGY
@Table(name = "BA_STRATUMLITHOLOGY")
public class BA_StratumLithology extends BABaseEntity {
    @Id
    @GenericGenerator(name="lithologyGenerator", strategy="uuid")
    @GeneratedValue(generator="lithologyGenerator")
    @Column(name = "BA_STRATUMLITHOLOGY_ID")
    private String BA_StratumLithology_ID;

    @Basic
    @Column(name = "DEPTH")
    private Double depth;

    @Basic
    @Column(name = "VERTICAL")
    private Double vertical;

    @Basic
    @Column(name = "ROCKDENSITY")
    private Double rockDensity;

    @Basic
    @Column(name = "PERMEABILITY")
    private Double permeability;

    @Basic
    @Column(name = "THERMALCONDUCTIVITY")
    private Double thermalConductivity;

    @Basic
    @Column(name = "SPECIFICHEAT")
    private Double specificHeat;

    @ManyToOne
    @JoinColumn(name="ba_well_id")
    private BA_Well well;

}
